package com.sa07.db;

/**
 * oracle工厂
 * 
 * @author Long.shangbo
 * 
 *         2014-2-21 上午11:11:07
 */
public class OracleSessionFactory extends SessionFactory {

	private static SessionFactory oracleSessionFactory = new OracleSessionFactory();

	private OracleSessionFactory() {

	}

	/**
	 * 获得工厂
	 * 
	 * @return
	 */
	public static SessionFactory getFactory() {
		return oracleSessionFactory;
	}

	@Override
	public void buildFactory(DbConfig config) {
		this.dbConfig = config;
	}
}
